package sk.stuba.fiit.repka.dp.owl;

public class OWLRestriction {
	public static final String USE_ALL_VALUES = "useAllValues";
	public static final String USE_SOME_VALUES = "useSomeValues";
	private MyOWLObjectProperty object;
	private MyOWLClass clazz;
	private boolean useAllValues = true; //default
	private boolean useSomeValues = false;
	
	public OWLRestriction(MyOWLObjectProperty object, MyOWLClass clazz, String useValeus) {
		this.object = object;
		this.clazz = clazz;
		if(USE_ALL_VALUES.equals(useValeus)) {
			this.useAllValues = true;
		} else if(USE_SOME_VALUES.equals(useValeus)) {
			this.useSomeValues = true;
		}
	}

	public MyOWLObjectProperty getObject() {
		return object;
	}

	public MyOWLClass getClazz() {
		return clazz;
	}

	public boolean isUseAllValues() {
		return useAllValues;
	}

	public boolean isUseSomeValues() {
		return useSomeValues;
	}
	
}
